package io.hilo.example.demo.web;

import org.jretty.apibase.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Controller Demo
 * 
 * @author zollty
 * @since 2018-3-12
 */
@RestController
@RequestMapping("/app")
public class DemoController {
    
    /**
     * hello
     */
    @RequestMapping("/hello")
    public Result<?> hello() {
        return Result.success("hello FAST framework!");
    }

}
